﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<Excell_On_Services.ViewModels.DepartmentModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

   <p class="mc_title">Managerment Department</p>
    <div class="content-box"><!-- Start Content Box -->
        <div class="content-box-header">
            <p>Edit</p>
            <div>
                <%: Html.ActionLink("Back to List", "Index") %>
            </div>
        </div>
        <div class="content-box-content">
			<div class="tab-content default-tab" id="tab1">

            <% using (Html.BeginForm()) {%>
                <%: Html.ValidationSummary(true) %>
        
        <table cellpadding="5" id="add_new_item">
            
                    <tbody>
                        <tr>
                            <td></td>
                            <td><%: Html.HiddenFor(model => model.DepartmentID) %></td>
                        </tr>
            
                        <tr>
                             <td class="ani_text"><%: Html.LabelFor(model => model.DepartmentName) %></td>
                            <td>
                                <%: Html.TextBoxFor(model => model.DepartmentName) %>
                                <%: Html.ValidationMessageFor(model => model.DepartmentName) %>
                            </td>
                         </tr>
            
                         <tr>
                             <td class="ani_text"><%: Html.LabelFor(model => model.Description) %></td>
                            <td class="ani_text">
                                <%: Html.TextBoxFor(model => model.Description) %>
                                <%: Html.ValidationMessageFor(model => model.Description) %>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2"><input type="submit" value="Apply" class="button" /></td>
                        </tr>
                    </tbody>
                </table>

    <% } %>

    

</asp:Content>

